package com.sakura.mall.order.refundInfo.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.order.refundInfo.domain.entity.RefundInfoEntity;
import com.sakura.mall.order.refundInfo.domain.request.AddRefundInfoRequest;
import com.sakura.mall.order.refundInfo.domain.request.UpdateRefundInfoRequest;
import com.sakura.mall.order.refundInfo.domain.request.RefundInfoPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.order.refundInfo.domain.vo.RefundInfoVo;

/**
 * 退款信息 service
 *
 * @author sakura
 */
public interface RefundInfoService extends IService<RefundInfoEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<RefundInfoVo> queryPage(RefundInfoPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddRefundInfoRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateRefundInfoRequest request);
}
